package dao;

import java.util.List;

import pojo.User;


public interface UserDao {
	public int addUser(User user);
	public int addUser(List<User> users);
	public int deleteUser(Integer id);
	public int updateUser(User user);
	public User loadUser(Integer id);
	public List<User> findAll();
	public User findByName(String name);
}
